#ifndef __OPTIONS_DIALOG_H
#define __OPTIONS_DIALOG_H
#pragma once

#include "EditPage.h"
#include "FoldersPage.h"
#include "LangPage.h"
#include "MenuPage.h"
// #include "PluginsPage.h"
#include "SettingsPage.h"
#include "SystemPage.h"


class COptionsSheet : public CPropertySheetImpl<COptionsSheet>
{
	typedef CPropertySheetImpl<COptionsSheet> baseClass;
public:
    // Construction
    COptionsSheet ( _U_STRINGorID title = (LPCTSTR) NULL, 
                    UINT uStartPage = 0, HWND hWndParent = NULL );

    // Maps
    BEGIN_MSG_MAP(COptionsSheet)
        MSG_WM_SHOWWINDOW(OnShowWindow)
		MSG_WM_INITDIALOG(OnInitDialog)
        CHAIN_MSG_MAP(baseClass)
    END_MSG_MAP()

    // Message handlers
    void OnShowWindow ( BOOL bShowing, int nReason );
	BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam);

  // Property pages
  CSystemPage m_pgSystemPage;
  // CPluginsPage pluginsPage;
  CEditPage m_pgEditPage;
  CSettingsPage m_pgSettingsPage;
  CLangPage m_pgLangPage;
  CMenuPage m_pgMenuPage;
  CFoldersPage m_pgFoldersPage;
    

    // Implementation
protected:
    bool m_bCentered;
};

#endif